<template>
	<div class="hon_content" id="hon_content">123</div>
</template>

<script setup>
import { onMounted } from 'vue';
import { loadComponents } from './honor.js';
let prop = defineProps(['url']);
prop.url;

//formData[Data]调用的components 传入的具体数据 创建class标签 进行挂载
// let formData = ['mountCom', 'Componenturl', 'targetClass']
let formData = ['earInfo', 'loginInfo'];

onMounted(() => {
	let loadFunc = loadComponents('hon_content');
	loadFunc(formData);
});
// loadco

// for (let i = 0; i < 6; i++) {
// 	// console.log(i);
// 	let func=()=>{console.log(inf);}
// 	let inf=i
// 	setTimeout(func.bind({inf}), i * 1000);
// }
</script>

<style scoped lang="scss">
.hon_content {
	width: 80%;
	margin: 20px auto;
}
</style>
